package com.ruoyi.carShop.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 洗车订单对象 order_details
 * 
 * @author ruoyi
 * @date 2024-09-07
 */
@Data
public class Withdrawal
{
    private static final long serialVersionUID = 1L;

    // 主键
    private Long withdrawalId;
    // 商户ID
    private Long merchantId;
    // 当前余额
    private BigDecimal currentBalance;
    // 体现余额
    private BigDecimal cashWithdrawal;
    // 真实姓名
    private String realName;
    // 银行卡号
    private String bankCardNumber;
    // 提现时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date withdrawalTime;
    // 状态（审核中0、提现成功1、提现失败2）
    private Long status;

    // 银行类型
    private String back;


}
